To specify the color for part of a window, you use a ColorSpec record in the ctTable field of a window color table record; see "The Window Color Table Record" for details. To specify the window part, you specify one of these values in the partIdentifier field of the ColorSpec record:
enum {
wContentColor = 0, /* content rgn background */
wFrameColor = 1, /* window outline */
wTextColor = 2, /* window title and
/* button text */
wHiliteColor = 3, /* reserved */
wTitleBarColor = 4, /* reserved */
wHiliteColorLight = 5, /* lightest stripes in
/* title bar & lightest
/* dimmed text */
wHiliteColorDark = 6, /* darkest stripes in
/* title bar and
/* darkest dimmed text */
wTitleBarLight = 7, /* lightest parts of
/* title bar background */
wTitleBarDark = 8, /* darkest parts of */
/* title bar background */
wDialogLight = 9, /* lightest element
/* of dialog box frame */
wDialogDark = 10, /* darkest element of
/* dialog box frame */
wTingeLight = 11, /* lightest window tinging */
wTingeDark = 12 /* darkest window tinging */
};